#ifndef __PWM_H
#define __PWM_H	 

#include "sys.h"

#define CAR_TURN(name,time,channe11)\
       void car_##name##_turn(float turn_degree,u8 model){\
        if(model){\
            TIM_SetCompare##channe11(TIM##time,(0.85-turn_degree*0.1)*STEER_PSC);}\
           }
       


void Timer4_PWM_Init(u16 arr,u16 psc);

#endif

